    package org.fly.dao;

    import org.fly.bean.ProductAttribute;
    import org.fly.bean.query.ProductAttributeQuery;
    import org.apache.ibatis.annotations.Param;
    import org.springframework.stereotype.Repository;

    import java.util.List;

    /**
    * Created by autoCode on 2018-03-07 08:26:12.
    */
    @Repository
    public interface ProductAttributeDao {

    List<ProductAttribute> list(ProductAttributeQuery query);

    long count(ProductAttributeQuery query);

    void  insert(ProductAttribute data);

    void update(ProductAttribute data);

    ProductAttribute findById(String id);

    void delete(String id);

    List<ProductAttribute> listByIds(@Param(value = "ids") List<String> ids);


}
